#ifndef WXTLOGINLEWINCMD_H
#define WXTLOGINLEWINCMD_H

#include <QObject>
#include "Command/BaseCmd.h"
#include "Protocol/WXTProtocol.h"

class WXTLoginLewinCmd: public BaseCmd
{
     Q_OBJECT
public:
   Q_INVOKABLE explicit WXTLoginLewinCmd(QObject *parent = 0);
    enum{FunctionCode = WXTProtocol::LoginLewin};
   Package toPackage();
   void unPackage(Package package);
   void setBody(QByteArray body);
   void setHead(QString head);
   void setSeData(struct SeData sedata);
   QByteArray getToken();
   void setToken(QByteArray token);
private:
   QByteArray m_body;
   struct SeData m_sedata;
   QByteArray m_token;
};
#endif // WXTLOGINLEWINCMD_H
